package com.sky.service;

import com.sky.dto.MeetingRoomQueryDTO;
import com.sky.entity.MeetingRoom;
import com.sky.result.PageResult;

import java.util.List;

public interface MeetingRoomService {

    /**
     * 查询所有会议室
     * @return
     */
    List<MeetingRoom> findAll();


    void update(MeetingRoom meetingRoom);

    void deleteByid(Integer id);

    void insert(MeetingRoom meetingRoom);

    /**
     * 筛选会议室
     * @param query
     * @return
     */
    List<MeetingRoom> queryByConditions(MeetingRoomQueryDTO query);

    PageResult page(Integer page, Integer size);
}
